import requests


class IhrmCrud():
    @classmethod
    def insert_emp(cls, header, jsondata):
        url = "http://ihrm-java.itheima.net/api/sys/user"
        resp = requests.post(url=url, headers=header, json=jsondata)
        return resp
